#ifndef XOBJECT_H
#define XOBJECT_H

class XObject
{
    public:
        XObject();
        ~XObject();
        virtual void init();
        virtual void draw()=0;
        virtual int process()=0;
        virtual int collisionTest(XObject * pObj)=0;

        virtual OBJECT_TYPE getType()=0;
        
        float x,y;
};

#endif // XOBJECT_H
